UCF STIG Viewer Logo

The SSH daemon must be configured to not allow gateway ports.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22466 GEN005517 SV-46028r1_rule ECSC-1 Low
Description
SSH TCP connection forwarding provides a mechanism to establish TCP connections proxied by the SSH server. This function can provide similar convenience to a Virtual Private Network (VPN) with the similar risk of providing a path to circumvent firewalls and network ACLs. Gateway ports allow remote forwarded ports to bind to non-loopback addresses on the server.
STIG Date
SUSE Linux Enterprise Server v11 for System z 2012-12-13

Details

Check Text ( C-43299r1_chk )
Check the SSH daemon configuration for the gateway ports setting.
# grep -i GatewayPorts /etc/ssh/sshd_config | grep -v '^#'
If no lines are returned, or the returned setting has a value evaluating to "yes", this is a finding.
Fix Text (F-39388r1_fix)
Edit the SSH daemon configuration and change or add the "GatewayPorts" setting to "no".